<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Администраторская панель </title>
	<link href="/css/jqueryui/cupertino/jquery-ui-1.8.2.custom.css" media="screen" rel="stylesheet" type="text/css" />
	<link href="/css/admin.css?6" media="screen" rel="stylesheet" type="text/css" />
	<link href="/css/pager.css" media="screen" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="/js/jquery-ui-1.8.2.custom.min.js"></script>
	<script type="text/javascript" src="/js/jquery.mainPager.js"></script>
	
	
<script type="text/javascript">	
/**
 * @param object indexObj
 * @return string
 */
function pagerIsActiveHandler(indexObj)
{
	return ( (indexObj.f_active == 1) ? '<span style="color: green">' + 'активный' + '</span>' 
									  : '<span style="color: #B61039">' + 'заблокированный' + '</span>');  
}
</script>	

	
</head>
<body>

<div id="main">
	<div id="header">
		<h1 id="site-title"><a href="/admin/">Main CMS</a></h1>

		<div id="user_info">
			<a title="Редактировать свой профиль" href="/admin/admin.profile/index<?php echo Main_Const::getSeriveUrlStr(); ?>">admin</a> | <a title="Выход" href="/admin/logout">Выход</a></p>
		</div>
	</div>

	<div id="content">
		<?php echo $this->layout()->content; ?>
		<!--Администраторская панель-->
	</div>

	<ul id="mainNav">	
		<?php echo $this->layout()->navigation; ?>
	</ul>

</div>

<div id="footer">
Версия 1.0
</div>

</body>
</html>